import request from '@/utils/request'

export default {
  //分页
  getPageList(page,limit) {
    return request({
      url: `/edu/api/teacher/getPageList/${page}/${limit}`,
      method: 'get'
    })
  },
  //讲师详情和拥有课程列表
  getTeacherInfo(id){
    return request({
      url:`/edu/api/teacher/${id}`,
      method: 'get'
    })
  }
}
